from myelin.Ns import MYELIN

class RDF:
    
    imt = u'text/rdf+xml'
    label = u'RDF/XML'
    classTypes = (MYELIN + u'MachineMetadataAdaptation',)
    dcTypes = ()
    

class NTriples(RDF):
    
    imt = u'text/rdf+nt'
    label = u'RDF/NTriples'
    

class N3(RDF):
    
    imt = u'text/rdf+n3'
    label = u'RDF/N3'
    
class JRDF(RDF):
    
    imt = u'text/rdf+json'
    label = u'RDF/JSON'
    
    
EXTENSIONS_MAP = {
    'rdf'  : RDF,
    'nt'   : NTriples,
    'n3'   : N3,
    'jrdf' : JRDF,
}


del MYELIN
